package com.ndp.fb.rdb.api;

import com.ndp.fb.rdb.model.EcFont;
import com.ndp.fb.rdb.model.Pager;

import java.util.List;

/**
 * Created by infi.he on 2016/4/26.
 */
public interface EcFontRdbService {
    EcFont findEcFontByFontNameAndfontWeight(Long orgId,String fontName, String fontWeight);

    EcFont findByFontName(Long orgId, String fontName);

    EcFont findByMD5(String md5);

    List<EcFont> findAll(Long orgId);

    Pager<EcFont> findPager(Long orgId,Integer cpage, Integer psize);

    Long save(EcFont ecFont);

    //查找模板下的字体
    List<EcFont> getByTemplateId(Long templateId);
}
